home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / zipcount.zip / ZIPCOUNT.DOC next >
Text File  |  1990-07-19  |  3KB  |  87 lines

  1.                
  2.                              Zipcount Version 1.00
  3.  
  4.                         By Arturo Batista of 1:135/79
  5.  
  6.  
  7. Introduction:
  8.  
  9.     First, I must say that ZIPCOUNT is guaranteed to do nothing more than
  10. take space in your drive, and that I will not be held liable for any
  11. damage caused or apparently caused by ZIPCOUNT. Use it at you own risk.
  12.  
  13. History:
  14.  
  15.     Zipcount is the direct offshoot of another simple utility of mine called
  16. LOGZIP. I wrote LOGZIP to time stamp my many logs at the end of each day
  17. and zip them all into one master file. That way all would be centrally
  18. located  and already automatically divided into daily chunks to
  19. facilitate searching thru them.
  20.     However, I also  wanted to consolidate some of the functions of
  21. other utilities that were cluttering my BBS directory. Thus ZIPCOUNT was
  22. conceived.  It combines the fuctions of LOGZIP, an RA download counter,
  23. and an FD files request counter. Previously I had several programs doing
  24. this, now they are combined in ZIPCOUNT.
  25.  
  26. Usage:
  27.     ZIPCOUNT requires that PKZIP.EXE be in the dos PATH. It will
  28. automatically search the path for PKZIP.EXE, and will abort if it can
  29. not find it.
  30.     ZIPCOUNT is very simple to use. It needs at least two command line
  31. parameters, but a maximum of three as follows:
  32. ZIPCOUNT [1] [d:\path] [d:\path]
  33.  
  34. Parameter #1 is a code to tell ZIPCOUNT what type of log it is
  35. processing and what action to take. The codes could be one of three:
  36.  
  37. R would mean and Remote Access Fd style log, and count the downloads.
  38. In a case like this, when a download is found, Zipcount will search the
  39. corresponding files.bbs and if it contains an entry for that file, the
  40. counter is incremented by one. If that entry is not found in the
  41. files.bbs, ZIPCOUNT assumes that that file does not reside in that
  42. directory anymore and ignores that particular download.
  43.  
  44. F works exactly the same as above except that the search patterns are
  45. altered to find file request in an FD style log. The way that the
  46. files.bbs is handled is basically the same, plus if a files.bbs does not
  47. exist for a file request, the freq is ignored too. That is to handle
  48. those file request from separate areas where the bbs does not access.
  49.  
  50. Z tells ZIPCOUNT to just time/date stamp the log and zip it.
  51.  
  52. The second command line parameter is the full pathname of the logfile to
  53. process. I.E. C:\RA\RA.LOG.
  54.  
  55. These first two parameters are required, as a minimum for ZIPCOUNT to
  56. work. A third parameter may be pass (optional) to have ZIPCOUNT archive
  57. the logs to a given file. As an example, suppose I want to process
  58. c:\ra\ra.log and c:\fd\fd.log and then  archive them to c:\logs.zip,
  59. then I would use the following:
  60.  
  61. ZIPCOUNT R C:\RA\RA.LOG C:\LOGS.ZIP
  62. ZIPCOUNT F C:\FD\FD.LOG C:\LOGS.ZIP
  63.  
  64. After the logs are processed they are renamed in the following manner:
  65.  
  66. RA.log would become RAMMDD.LOG, where MM is the month and DD is the day
  67. of the month.
  68.  
  69. Also if you type ZIPCOUNT<CR>, you will get a comprehensive help screen.
  70.  
  71. Registration:
  72.     If you believe this is worth anything, let me know by sending a
  73.     small fee ($5.00 or less) to:
  74.  
  75.  
  76. Arturo Batista
  77. 575 w 69th Street #107
  78. Hialeah, FL, 33014
  79.  
  80.  
  81. All suggestions for later versions and bug reports should be sent to the
  82. above address or NETMAILED to ENTERPRISE!, FIDONET 1:135/79
  83.  
  84.  
  85. Arturo
  86.  
  87.